Fix leaktest.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 7 Jan 2004 02:19:58 +0000 (02:19 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 7 Jan 2004 02:19:58 +0000 (02:19 +0000)
gpsbabel/ozi.c

index e224a568f8ee5ca5e78e267de51f26c0d6dc7cd8..b55543f40efa82347f0fb49e98761c1c1bb851ba 100644 (file)
@@ -581,8 +581,8 @@ ozi_waypt_pr(const waypoint * wpt)
             index, shortname, wpt->latitude, wpt->longitude, ozi_time, 0,
             1, 3, 0, 65535, description, 0, 0, 0, alt_feet, 6, 0, 17);
 
-    free(description);
-    free(shortname);
+    xfree(description);
+    xfree(shortname);
 
 }